package com.blueocean_health.care.management.domain.vo;

import java.util.ArrayList;
import java.util.List;

/**
* 组织模块vo
* @author huyanqiu
* @date 2018年3月20日 下午2:38:36
* @version 版本号：1.0
*/
public class OrganizationVo {

	// 组织id
	private int id;
	// 组织名称
	private String name;
	// 上级组织id
	private int parentId;
	// 上级组织名称
	private String parentName;
	// 负责人ID
	private String manager;
	// 负责人名称
	private String managerName;
	// 可使用模块id
	private List<String> modules = new ArrayList<>();
	// 可使用模块名称
	private List<String> moduleNames = new ArrayList<>();
	// 半选模块id
	private List<String> halfmodules = new ArrayList<>();
	// 半选模块名称
	private List<String> halfmoduleNames = new ArrayList<>();
	// 排序权重
	private double order;
	// 1正常，2禁用，3 删除
	private int isActive;
	// 标识层级: 3位标识一层
	private String code;
	// 组织/项目所属一级组织ID
	private String firstOrg;
	// id 1正常，2禁用，3 删除
	private String status;
	
	// 创建人
	private int createBy;
	// 负责人手机号
	private String phone;
	
	public int getParentId() {
		return parentId;
	}
	public void setParentId(int parentId) {
		this.parentId = parentId;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getParentName() {
		return parentName;
	}
	public void setParentName(String parentName) {
		this.parentName = parentName;
	}
	public String getManager() {
		return manager;
	}
	public void setManager(String manager) {
		this.manager = manager;
	}
	public String getManagerName() {
		return managerName;
	}
	public void setManagerName(String managerName) {
		this.managerName = managerName;
	}
	public List<String> getModules() {
		return modules;
	}
	public void setModules(List<String> modules) {
		this.modules = modules;
	}
	public List<String> getModuleNames() {
		return moduleNames;
	}
	public void setModuleNames(List<String> moduleNames) {
		this.moduleNames = moduleNames;
	}
	public double getOrder() {
		return order;
	}
	public void setOrder(double order) {
		this.order = order;
	}
	public int getIsActive() {
		return isActive;
	}
	public void setIsActive(int isActive) {
		this.isActive = isActive;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
 	}
	public int getCreateBy() {
		return createBy;
	}
	public void setCreateBy(int createBy) {
		this.createBy = createBy;
	}
	public OrganizationVo() {
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getFirstOrg() {
		return firstOrg;
	}
	public void setFirstOrg(String firstOrg) {
		this.firstOrg = firstOrg;
	}
	@Override
	public String toString() {
		return "OrganizationVo [id=" + id + ", name=" + name + ", parentId=" + parentId + ", parentName=" + parentName
				+ ", manager=" + manager + ", managerName=" + managerName + ", modules=" + modules + ", moduleNames="
				+ moduleNames + ", order=" + order + ", isActive=" + isActive + ", code=" + code + ", firstOrg="
				+ firstOrg + ", status=" + status + ", createBy=" + createBy + ", phone=" + phone + "]";
	}
	public List<String> getHalfmoduleNames() {
		return halfmoduleNames;
	}
	public void setHalfmoduleNames(List<String> halfmoduleNames) {
		this.halfmoduleNames = halfmoduleNames;
	}
	public List<String> getHalfmodules() {
		return halfmodules;
	}
	public void setHalfmodules(List<String> halfmodules) {
		this.halfmodules = halfmodules;
	}
}
